import { Component, OnInit,Input,Output,EventEmitter } from '@angular/core';

@Component({
    selector:"list-item",
    templateUrl:"./homechild.component.html"
})
export class homechildComponent {
    @Input() dataItem:any={};
    @Output() ontan = new EventEmitter<number>();
    // constructor(){}
    // ngOnInit(){}
    tan111(num:number){
        console.log(num)
        // console.log(this.tan)
        // debugger;
        this.ontan.emit(num)
    }
}